package com.study.blog.service;

import com.study.blog.dao.pojo.SysUser;
import com.study.blog.vo.Result;
import com.study.blog.vo.parms.LoginParam;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author 1
 * @data 2022/2/16
 */
@Transactional
public interface LoginService {


    Result login(LoginParam loginParam);

    SysUser checkToken(String token);

    Result logout(String token);

    Result register(LoginParam loginParam);
}
